package com.tnt.hpit.screens;

import com.tnt.hpit.gamelogic.GameControl;
import com.tnt.hpit.services.AtlasManager;
import com.tnt.hpit.shared.Constants;


public class SplashScreen extends AbstractScreen{
	
	public SplashScreen( GameControl gameControl ) {
		super(gameControl);
		AtlasManager.newTextureAtlas();
	}

	@Override
	public void show() {
		super.show();
		Constants.printLog(this.toString(), "Splash screen show");
//		gameControl.setScreen( new MenuScreen(gameControl));
		gameControl.setScreen( new PlayScreen(gameControl));
	}

	@Override
	public void render(float arg0) {
		super.render(arg0);
		showFrameNumber();
	}
}
